﻿using System;

namespace MessagePack.Decoders
{
	// Token: 0x02000077 RID: 119
	internal class Array16Header : IArrayHeaderDecoder
	{
		// Token: 0x06000226 RID: 550 RVA: 0x0000B173 File Offset: 0x00009573
		private Array16Header()
		{
		}

		// Token: 0x06000227 RID: 551 RVA: 0x0000B17B File Offset: 0x0000957B
		public uint Read(byte[] bytes, int offset, out int readSize)
		{
			readSize = 3;
			return (uint)((int)bytes[offset + 1] << 8 | (int)bytes[offset + 2]);
		}

		// Token: 0x040000A1 RID: 161
		internal static readonly IArrayHeaderDecoder Instance = new Array16Header();
	}
}
